package com.ysf.cn.springbootshrio.pojo;

/**
 * @author ysf
 * @date 2020/2/12 13:26
 * 权限实体类
 */
public class Permission {

    private Integer id;
    private Integer parentid;
    private String resname;
    private String restype;
    private String permission;
    private String url;

    public Permission(Integer id, Integer parentid, String resname, String restype, String permission, String url) {
        this.id = id;
        this.parentid = parentid;
        this.resname = resname;
        this.restype = restype;
        this.permission = permission;
        this.url = url;
    }

    public Permission() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

    public String getResname() {
        return resname;
    }

    public void setResname(String resname) {
        this.resname = resname;
    }

    public String getRestype() {
        return restype;
    }

    public void setRestype(String restype) {
        this.restype = restype;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
